/**
 * File NeedDTO.java created by Pablo Díaz Fernández
 * on 06/04/2012 for the project supply-chain-simulator
 */
package org.lsk.pfc.scsim.model.persistence.dto;

/**
 * Entity to persist NEED entities in the DB.
 * 
 * @author Pablo Díaz Fernández
 */
public final class NeedDTO extends BaseDTO {

	/**
	 * Source name of the request.
	 */
	private String sourceName;
	/**
	 * Source id of the request.
	 */
	private String sourceId;
	/**
	 * Tick in which the request is sent.
	 */
	private Long tick;
	/**
	 * Amount of items requested.
	 */
	private Integer amount;
	/**
	 * Product requested.
	 */
	private String product;

	/**
	 * Gets the sourceName.
	 * 
	 * @return the sourceName
	 */
	public String getSourceName() {
		return sourceName;
	}

	/**
	 * Gets the tick.
	 * 
	 * @return the tick
	 */
	public Long getTick() {
		return tick;
	}

	/**
	 * Gets the amount.
	 * 
	 * @return the amount
	 */
	public Integer getAmount() {
		return amount;
	}

	/**
	 * Sets the sourceName.
	 * 
	 * @param sourceName
	 *            the sourceName to set
	 */
	public void setSourceName(final String sourceName) {
		this.sourceName = sourceName;
	}

	/**
	 * Sets the tick.
	 * 
	 * @param tick
	 *            the tick to set
	 */
	public void setTick(final Long tick) {
		this.tick = tick;
	}

	/**
	 * Sets the amount.
	 * 
	 * @param amount
	 *            the amount to set
	 */
	public void setAmount(final Integer amount) {
		this.amount = amount;
	}

	/**
	 * Gets the sourceId.
	 * 
	 * @return the sourceId
	 */
	public String getSourceId() {
		return sourceId;
	}

	/**
	 * Sets the sourceId.
	 * 
	 * @param sourceId
	 *            the sourceId to set
	 */
	public void setSourceId(final String sourceId) {
		this.sourceId = sourceId;
	}

	/**
	 * Gets the product.
	 * 
	 * @return the product
	 */
	public String getProduct() {
		return product;
	}

	/**
	 * Sets the product.
	 * 
	 * @param product
	 *            the product to set
	 */
	public void setProduct(final String product) {
		this.product = product;
	}
}
